package quotation.utils;

import lombok.AllArgsConstructor;

import java.io.Serializable;


@AllArgsConstructor
public class LoginInfo implements Serializable{

    private static final long serialVersionUID = 5418530629894359477L;

    public Long userId;

    public Integer type;

    public String userName;


    public LoginInfo(Long userId){
        this.userId = userId;
    }

    public LoginInfo(Long userId, Integer type){
        this.userId = userId;
        this.type = type;
    }
}
